package edu.gyc.hiblog.service;

import edu.gyc.hiblog.model.User;
import com.baomidou.mybatisplus.extension.service.IService;
import edu.gyc.hiblog.shiro.AccountProfile;
import edu.gyc.hiblog.util.Result;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ls
 * @since 2020-11-30
 */
public interface UserService extends IService<User> {
    public Result reg(User user);

    AccountProfile login(String email, String password);
}
